package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 经纪人表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@TableName("t_agent")
@ApiModel(value="Agent对象", description="经纪人表")
public class Agent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "经纪人id")
    @TableId(value = "agent_id", type = IdType.ID_WORKER_STR)
    private String agentId;

    @ApiModelProperty(value = "经纪人图片")
    private String agentImages;

    @ApiModelProperty(value = "经纪人姓名")
    private String agentName;

    @ApiModelProperty(value = "经纪人职务")
    private String agentPosition;

    @ApiModelProperty(value = "经纪人所涉及行业")
    private String agentIndustry;

    @ApiModelProperty(value = "经纪人服务宣言")
    private String agentManifesto;

    @ApiModelProperty(value = "经纪人工作年限")
    private Date agentYears;

    @ApiModelProperty(value = "经纪人管理的人员")
    private String agentManagePeople;

    @ApiModelProperty(value = "客户人数")
    private Integer agentCustomersNumber;

    @ApiModelProperty(value = "经纪人电话")
    private String agentPhone;

    @ApiModelProperty(value = "是否认证")
    private Integer agentAuthentication;

    @ApiModelProperty(value = "经纪人评价")
    private String agentAppraise;

    @ApiModelProperty(value = "经纪人特长")
    private String agentSpecialty;

    @ApiModelProperty(value = "个人标签")
    private String agentLabel;

    @ApiModelProperty(value = "门店id")
    private String storeId;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "城市名字")
    private String cityName;


    @ApiModelProperty(value = "用户id")
    private String userId;


}
